package com.spring.security.core.properties;


import com.spring.security.core.properties.app.AppProperties;
import com.spring.security.core.properties.browser.BrowserProperties;
import com.spring.security.core.properties.oauth.OAuth2Properties;
import com.spring.security.core.properties.social.SocialProperties;
import com.spring.security.core.properties.white.WhiteProperties;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 总体配置项
 *
 * @author seabed_moon
 */
@ConfigurationProperties(prefix = "sun-land.security")
@Setter
@Getter
public class SecurityProperties {

    /**
     * 浏览器环境配置
     */
    private BrowserProperties browser = new BrowserProperties();

    private AppProperties app = new AppProperties();
    /**
     * 验证码配置
     */
    private ValidateCodeProperties code = new ValidateCodeProperties();
    /**
     * 社交登录配置
     */
    private SocialProperties social = new SocialProperties();

    /**
     * oauth2 配置
     */
    private OAuth2Properties oauth2 = new OAuth2Properties();

    /**
     * 白名单配置
     */
    private WhiteProperties white = new WhiteProperties();


}
